package com.chinafree.auth.service;

import com.chinafree.auth.model.bo.LoginUserBo;
import com.chinafree.auth.model.result.LoginResult;
import com.chinafree.common.model.response.EntityResponse;
import org.springframework.stereotype.Service;

@Service
public interface NormalLoginService {
    //
    EntityResponse<LoginResult> loginByUserNameAndPassword(String loginMail, String password, Integer roleId);

    EntityResponse<LoginResult> loginByUserNameAndVerfication(String loginMail, String verfication, Integer roleId);

    EntityResponse<LoginResult> getLoginResult(LoginUserBo loginUserBo, Integer roleId);

    EntityResponse<LoginResult> getLoginByUserId(Long userId);


}
